/**
 * Author: w景洋.
 * Time: 2016/6/13 0013
 */
angular.module('mall.template', [])

    .config(['$stateProvider', '$urlRouterProvider',
        function ($stateProvider, $urlRouterProvider) {
            $stateProvider
                .state('mall', {
                    'abstract': true,
                    url: '',
                    templateUrl: templateprefix + 'template/mall.html',
                    controller: 'TemplateMallController'
                })
            ;
        }
    ])

    //
    .controller('TemplateMallController', ['$scope', function ($scope) {
        MallChange(1);
        $scope.mall_enturl = projectBaseUrl;
        $scope.mall_ucurl = projectBaseUrl;
    }])
;
